package service;

import java.util.List;

import dao.StoptimeHome;
import dao.TrailerHome;
import dao.VideoHome;

import pojo.Movie;
import pojo.Trailer;
import pojo.Tvshow;
import pojo.User;
import pojo.Video;

public interface IVideoService {
    
    public void setVideoDao(VideoHome videoDao);

    public void setTrailerDAO(TrailerHome trailerDAO);

    public void setStoptimeDAO(StoptimeHome stoptimeDAO);
    
    public Video getVideoById(int vid);
    
    public List<Video> getMovieAllVideos(int movie_id); 
    
    public List<Video> getTvVideos(int tv_id);
    
    public void addVideo(Video video);
    
    public void updateVideo(Video video);
    
    public List<Trailer> getVideoTrailer(Video video);
    
    public int getLastStoppoint(User user, Video video);
    
}
